// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'
import store from './store'


import './assets/css/global.css'
import './assets/font/iconfont.css'
import "../static/theme/chalk";
import "../static/theme/vintage";

Vue.use(VueAxios, axios)


// // 请求基准路径的配置
// axios.defaults.baseURL = 'http://127.0.0.1:8888/api/'
//     //axios.defaults.baseURL = 'http://127.0.0.1:8888/api/'
//     // 将axios挂载到Vue的原型对象上
//     // 在别的组件中 this.$http
// Vue.prototype.$http = axios
//     //Vue.prototype.$http = axios



Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})